package pers.xiaojun.boot.security.pojo;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Bean;

import java.util.List;

/**
 * 用户认证信息
 *
 * @author xiaojun
 * @since 2025-10-03
 */
@Data
@Builder
public class AuthUserDetails {

    /**
     * 用户id
     */
    private Long id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 权限范围
     */
    private List<String> scopes;

    /**
     * 租户Id
     */
    private Long tenantId;


}
